#if !defined(AFX_MYTOOLBAR_H__A3E2BAEA_81C5_4794_B80A_DF7365FE1499__INCLUDED_)
#define AFX_MYTOOLBAR_H__A3E2BAEA_81C5_4794_B80A_DF7365FE1499__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyToolBar.h : header file
//
#include "FixTB.h"

/////////////////////////////////////////////////////////////////////////////
// CMyToolBar window

class CMyToolBar : public CFixMFCToolBar
{
// Construction
public:
	CMyToolBar(LPCTSTR szBarName);

// Attributes
public:

// Operations
public:
	void RestoreState();
	void SaveState();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyToolBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	CString m_sBarName;
	virtual ~CMyToolBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyToolBar)
	afx_msg void OnNcPaint();
	//}}AFX_MSG

	virtual CSize CalcDynamicLayout(int nLength, DWORD dwMode);
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	
	afx_msg void OnToolBarQueryDelete(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarQueryInsert(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarChange(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarBeginDrag(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarEndDrag(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarBeginAdjust(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarCustomHelp(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarEndAdjust(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarGetButtonInfo(NMHDR *notify, LRESULT *result);
	afx_msg void OnToolBarReset(NMHDR *notify, LRESULT *result);
	afx_msg void OnDestroy();
	
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYTOOLBAR_H__A3E2BAEA_81C5_4794_B80A_DF7365FE1499__INCLUDED_)
